No, the courtyard is not the same as the holy city. In the OT, the courtyard was an area where the gentiles were permitted to go, but no further into the temple itself. The temple was for the Jews. The book of Revelation is a time when God will again focus on the Jewish nation to fulfill all His promises to them. The temple spoken about in chapter 11 is a real, earthly temple. Remember, the antichrist needs to stand in the temple and declare himself God. This coutyard will be part of the rebuilt temple in Jerusalem during the tribulation period.